package com.cloud.salon.common.base.entity.authority;

import com.cloud.salon.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.*;

/**
 * @Description 角色实体类
 * @Author wolf--LZH
 * @CreateDate 2019/4/10 0010 下午 1:46
 */
@Data
@Entity
@Table(name="role")
public class Role extends BaseEntity {

    @Column(nullable = false, length = 50)
    private String name;
}
